// Copyright (c) 2020 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.

/**
*@describe:
*@author wfl19/Kristas
*@date 2021/12/17
 */

package gorm_plugin

import (
	"gitee.com/kristas/booting-go/framework/data/datasource"
	"gorm.io/gorm"
)

func MustBindDB(db datasource.DB) *gorm.DB {
	return db.(*gorm.DB)
}
